﻿using System;
using System.Drawing;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace TouchUI
{
    public class Control
    {
        public Rectangle Rectangle { get; set; }
        public int ScreenFactor { get; set; }
        public Color BackColor { get; set; }

        public Control()
        {
            BackColor = SystemColors.Window;
        }

        public virtual void Paint(Graphics g) { }
        public virtual void MouseDown(Point p) { }
        public virtual void MouseMove(Point p) { }
        public virtual void MouseUp(Point p) { }
        public virtual void Resize(Rectangle r) { }
        public virtual void KeyDown(KeyEventArgs e) { }
        public virtual void KeyUp(KeyEventArgs e) { }
    }
}
